/*
function sum(a:number,b:number):number{
    return a+b;
}
console.log(sum(123,456));
console.log("哈哈");
*/
var Car = /** @class */ (function () {
    function Car(engine) {
        this.engine = engine;
    }
    Car.prototype.disp = function () {
        console.log("函数中显示发动机型号  :   " + this.engine);
    };
    return Car;
}());
var obj = new Car('XXSY1');
console.log("读取发动机型号:" + obj.engine);
obj.disp();
